package com.share.user.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.share.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@Schema(description = "用户数据")
public class UserInfoVo {
    private static final long serialVersionUID = 1L;


    /** 会员昵称 */
    @Excel(name = "会员昵称")
    @Schema(description = "会员昵称")
    private String nickname;

    /** 性别 */
    @Excel(name = "性别")
    @Schema(description = "性别")
    private String gender;

    /** 头像 */
    @Excel(name = "头像")
    @Schema(description = "头像")
    private String avatarUrl;

    /** 电话 */
    @Excel(name = "电话")
    @Schema(description = "电话")
    private String phone;


    /**
     * 1、免押金
     */
    @Schema(description = "1免押金，2已交押金")
    private String depositStatus;


//    @TableField(exist = false)
//    private LocalDate  beginTime;


    /** 最后一次登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "最后一次登录时间")
    private Date lastLoginTime;
}
